﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F09 RID: 3849
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMagicAreaUpdateScNotify : IMessage<RogueMagicAreaUpdateScNotify>, IMessage, IEquatable<RogueMagicAreaUpdateScNotify>, IDeepCloneable<RogueMagicAreaUpdateScNotify>, IBufferMessage
	{
		// Token: 0x170030EC RID: 12524
		// (get) Token: 0x0600ACB3 RID: 44211 RVA: 0x001D35E7 File Offset: 0x001D17E7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMagicAreaUpdateScNotify> Parser
		{
			get
			{
				return RogueMagicAreaUpdateScNotify._parser;
			}
		}

		// Token: 0x170030ED RID: 12525
		// (get) Token: 0x0600ACB4 RID: 44212 RVA: 0x001D35EE File Offset: 0x001D17EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMagicAreaUpdateScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170030EE RID: 12526
		// (get) Token: 0x0600ACB5 RID: 44213 RVA: 0x001D3600 File Offset: 0x001D1800
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMagicAreaUpdateScNotify.Descriptor;
			}
		}

		// Token: 0x0600ACB6 RID: 44214 RVA: 0x001D3607 File Offset: 0x001D1807
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicAreaUpdateScNotify()
		{
		}

		// Token: 0x0600ACB7 RID: 44215 RVA: 0x001D361A File Offset: 0x001D181A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicAreaUpdateScNotify(RogueMagicAreaUpdateScNotify other) : this()
		{
			this.rogueTournAreaInfo_ = other.rogueTournAreaInfo_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600ACB8 RID: 44216 RVA: 0x001D3644 File Offset: 0x001D1844
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicAreaUpdateScNotify Clone()
		{
			return new RogueMagicAreaUpdateScNotify(this);
		}

		// Token: 0x170030EF RID: 12527
		// (get) Token: 0x0600ACB9 RID: 44217 RVA: 0x001D364C File Offset: 0x001D184C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RogueMagicAreaInfo> RogueTournAreaInfo
		{
			get
			{
				return this.rogueTournAreaInfo_;
			}
		}

		// Token: 0x0600ACBA RID: 44218 RVA: 0x001D3654 File Offset: 0x001D1854
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMagicAreaUpdateScNotify);
		}

		// Token: 0x0600ACBB RID: 44219 RVA: 0x001D3662 File Offset: 0x001D1862
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMagicAreaUpdateScNotify other)
		{
			return other != null && (other == this || (this.rogueTournAreaInfo_.Equals(other.rogueTournAreaInfo_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600ACBC RID: 44220 RVA: 0x001D3698 File Offset: 0x001D1898
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.rogueTournAreaInfo_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600ACBD RID: 44221 RVA: 0x001D36CC File Offset: 0x001D18CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600ACBE RID: 44222 RVA: 0x001D36D4 File Offset: 0x001D18D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600ACBF RID: 44223 RVA: 0x001D36DD File Offset: 0x001D18DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.rogueTournAreaInfo_.WriteTo(ref output, RogueMagicAreaUpdateScNotify._repeated_rogueTournAreaInfo_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600ACC0 RID: 44224 RVA: 0x001D3704 File Offset: 0x001D1904
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.rogueTournAreaInfo_.CalculateSize(RogueMagicAreaUpdateScNotify._repeated_rogueTournAreaInfo_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600ACC1 RID: 44225 RVA: 0x001D373D File Offset: 0x001D193D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMagicAreaUpdateScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.rogueTournAreaInfo_.Add(other.rogueTournAreaInfo_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600ACC2 RID: 44226 RVA: 0x001D376B File Offset: 0x001D196B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600ACC3 RID: 44227 RVA: 0x001D3774 File Offset: 0x001D1974
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 114U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.rogueTournAreaInfo_.AddEntriesFrom(ref input, RogueMagicAreaUpdateScNotify._repeated_rogueTournAreaInfo_codec);
				}
			}
		}

		// Token: 0x04004621 RID: 17953
		private static readonly MessageParser<RogueMagicAreaUpdateScNotify> _parser = new MessageParser<RogueMagicAreaUpdateScNotify>(() => new RogueMagicAreaUpdateScNotify());

		// Token: 0x04004622 RID: 17954
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004623 RID: 17955
		public const int RogueTournAreaInfoFieldNumber = 14;

		// Token: 0x04004624 RID: 17956
		private static readonly FieldCodec<RogueMagicAreaInfo> _repeated_rogueTournAreaInfo_codec = FieldCodec.ForMessage<RogueMagicAreaInfo>(114U, RogueMagicAreaInfo.Parser);

		// Token: 0x04004625 RID: 17957
		private readonly RepeatedField<RogueMagicAreaInfo> rogueTournAreaInfo_ = new RepeatedField<RogueMagicAreaInfo>();
	}
}
